﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Domain
{
    /// <summary>
    /// 保健信息表
    /// </summary>
    [Table("Health")]
    public class Health
    {
        /// <summary>
        /// 保健信息表ID
        /// </summary>
        [Key]
        public int HealthId {  get; set; }
        /// <summary>
         /// 饲养天数
       /// </summary>
        public int BreedsNum { get; set; }
       /// <summary>
       /// 保健方式
       /// </summary>
        public string? HealthType {  get; set; }
        /// <summary>
        /// 保健方法
        /// </summary>
        public string? HealthMethod {  get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 溯源表ID
        /// </summary>

        public int TraceabilityId { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        public bool HealthDel {  get; set; }=false;
        /// <summary>
        /// 当前行状态
        /// </summary>
        public bool HealSart {  get; set; }=false;




        /// <summary>
        /// 添加人
        /// </summary>
        public string? addName { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? addDate { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? updateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? updateDate { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        public string? delName { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? delDate { get; set; }

    }
}
